﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MobileBG
{
    public class CarModel
    {
        private string name;

        public CarModel(string name)
        {
            this.Name = name;
        }

        public string Name
        {
            get
            {
                return this.name;
            }
            set
            {
                if (value != null && value != this.name)
                {
                    this.name = value;
                }
            }
        }
    }
}